package com.hakim.wfb.customer.service.convert;

import com.hakim.wfb.bean.ConsumeInterest;

import com.hakim.wfb.customer.result.consume.ConsumeInterestView;

/**
 * Created by Administrator on 2017/7/21.
 */
public class ConsumeInterestDtv {

    public static ConsumeInterestView convert(ConsumeInterest obj) {
        ConsumeInterestView view = new ConsumeInterestView();
        view.setId(obj.getTid());
        view.setRuleId(obj.getRuleId());
        view.setInterestDate(obj.getInterestDate());
        view.setInterest(obj.getInterest());
        return view;
    }
}
